<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!-- 后勤部分配备用宿舍
	2011-7-03
	陈伟斌 
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>">

		<title>广东科学技术职业学院考生报到系统>>>>后勤部</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
			<link rel="stylesheet" href="css/jquery-ui-1.8.5.custom.css"	type="text/css" />
			<link href="css/newindex.css" rel="stylesheet" type="text/css" />
			<script src="js/jquery-1.5.js" language="javascript">
		</script>
			<script src="js/table.js" language="javascript">
		</script>
			<script src="js/newpublic.js" language="javascript">
		</script>
			<script src="js/logistics2.js" language="javascript">
	</script>
		<script src="js/jquery-ui-1.8.5.custom.min.js" language="javascript">
		</script>
			<style type="text/css">
				body,h2 {
					margin: 0;
					padding: 0;
				}
				
				#BgDiv {
					background-color: #e3e3e3;
					position: absolute;
					z-index: 99;
					left: 0;
					top: 0;
					display: none;
					width: 100%;
					height: 1000px;
					opacity: 0.5;
					filter: alpha(opacity = 50);
					-moz-opacity: 0.5;
				}
				
				#DialogDiv {
					position: absolute;
					width: 200px;
					left: 50%;
					top: 50%;
					margin-left: -100px;
					height: auto;
					z-index: 100;
					background-color: #fff;
					border: 1px #8FA4F5 solid;
					padding: 1px;
				}
				
				#DialogDiv h2 {
					height: 25px;
					font-size: 14px;
					background-color: #8FA4F5;
					position: relative;
					padding-left: 10px;
					line-height: 25px;
				}
				
				#DialogDiv h2 a {
					position: absolute;
					right: 5px;
					font-size: 12px;
					color: #000000
				}
				
				#DialogDiv .form {
					padding: 10px;
				}
			</style>
			
			<script >
				$(function(){
					$("#content").draggable({cancel:".contable"});
				})
			</script>
	</head>



		<body id="bo" onload="fixPNGAll()">
			<!--弹出层-->
			<div id="BgDiv"></div>
			<div id="DialogDiv" style="display: none">
				<h2>
					学生转移
					<a href="#" onclick="btnClose()">关闭</a>
				</h2>
				<div class="form">

				</div>
			</div>
			<!---->
			<div id="bg">
				<div id="bodydiv">
					<div id="bodytitle">
						后勤部
						<div>
							<a href="logoutAction" style="color: #F00;">退出</a>
						</div>
					</div>
					<div id="menudiv">
						<div class="menu">
							<div style="position: relative;">
								<a href="entrance/logisticsAction"><img src="newimages/l3.png"
										width="48" height="48" border="0" />
									<div>
										宿舍情况
									</div> </a>
							</div>
						</div>
						<div class="menu">
							<div style="position: relative;">
								<a href="entrance/logistics2.jsp"><img src="newimages/l1.png"
										width="46" height="47" border="0" />
									<div>
										分配宿舍
									</div> </a>
							</div>
						</div>
						<div class="menu">
							<div style="position: relative;">
								<a href="logisticsManagerDormAction"><img src="newimages/l2.png"
										width="48" height="48" border="0" />
									<div>
										导入宿舍
									</div> </a>
							</div>
						</div>
					</div>
					<div id="content">
						<!--当前位置CSS-->
						<div class="top">
							<div class="topleft">
								<div class="dan">
									<div>
										当前位置>后勤部>分配宿舍
									</div>
								</div>
								<div class="F5">
									<img src="newimages/F5.png" />
								</div>
							</div>
							<div class="topright">
								<div class="toprightmin"></div>
								<div class="toprightmax"></div>
							<div class="toprightclose" onclick="if(confirm('是否确定退出！')){location.replace('loginoutAction')}" title="点击退出"></div>
							</div>
						</div>
						<!---->
						<!--内容-->
						<div class="condiv">
							<div class="submenu">

							</div>
							<div class="contable">
								<!--******************************-->
								<div class="title">
									分配宿舍
								</div>
								<div style="text-align: right;">
									<input type="button" value="查看历史记录"
										onclick="$('#div2').css('display','block');$('#div1').css('display','none');" />
								</div>
								<div id="div1">

								<table width="95%" height="90" border="0" align="center"
									cellpadding="0" cellspacing="1" class="t1"
									style="border: 1px solid #5cb0ff;" id="resultTable">
									<tr id="tableHead">
											<th width="11%" height="21" align="center">
												序号
											</th>
											<th width="11%" align="center">
												校区
											</th>
											<th width="12%" align="center">
												宿舍号
											</th>
											<th width="13%" align="center">
												性别
											</th>
											<th width="16%" align="center">
												分配情况
											</th>
											<th width="7%" align="center">
												备注
											</th>
											<th width="30%" align="center">
												操作
											</th>
										</tr>
										<tr id="tr1">
											<td align="center">
												1
											</td>
											<td align="center">
												<Div id="d1">
													珠海校区
												</Div>
											</td>
											<td align="center">
												<div id="d2">
													1#201
												</div>
											</td>
											<td align="center">
												<div id="d3">
													男
												</div>
											</td>
											<td align="center">
												<Div id="shu">
													未分配
												</Div>
											</td>
											<td align="center">
												&nbsp;
											</td>
											<td align="center">


												<table width="200" border="0" cellspacing="0"
													cellpadding="1" class="ss">
													<tr>
														<td>
															<input value="分配" type="button" id="button1" />
														</td>
														<td>
															<input type="button" value="修改" id="btnShow" class="but"
																onclick="upda()" />
														</td>
														<td>
															<input type="button" value="确定" class="but"
																onclick="upda2()" style="display: none;" id="upda2" />
														</td>
														<td>&nbsp;<input type="button" value="取消" class="but"
																onclick="upda1()" style="display: none;" id="upda1" />
														</td>
														<td>
															<input type="button" name="button3" id="button3"
																value="删除" onclick="deltr(1)" />
														</td>
														<td>
															<input type="button" name="button4" id="button4"
																value="回收" disabled="true" onclick="showbutton2()" />
														</td>
													</tr>
												</table>




											</td>
										</tr>
										<tr>
											<td align="center">
												&nbsp;
											</td>
											<td align="center">
												&nbsp;
											</td>
											<td align="center">
												&nbsp;
											</td>
											<td align="center">
												&nbsp;
											</td>
											<td align="center">
												&nbsp;
											</td>
											<td align="center">
												&nbsp;
											</td>
											<td align="center">
												&nbsp;
											</td>
										</tr>
										<tr>
											<td align="center">
												&nbsp;
											</td>
											<td align="center">
												&nbsp;
											</td>
											<td align="center">
												&nbsp;
											</td>
											<td align="center">
												&nbsp;
											</td>
											<td align="center">
												&nbsp;
											</td>
											<td align="center">
												&nbsp;
											</td>
											<td align="center">
												&nbsp;
											</td>
										</tr>
									</table>

<!--									<table width="100%" border="0" cellspacing="5" cellpadding="0">-->
<!--										<tr>-->
<!--											<td width="91%" align="right">-->
<!--												<input type="radio" name="radio" id="radio" value="radio"-->
<!--													checked="checked" />-->
<!--												本页-->
<!--											</td>-->
<!--											<td width="9%" rowspan="2">-->
<!--												<input type="button" value="导出" />-->
<!--											</td>-->
<!--										</tr>-->
<!--										<tr>-->
<!--											<td align="right">-->
<!--												<input type="radio" name="radio" id="radio" value="radio" />-->
<!--												全部-->
<!--											</td>-->
<!--										</tr>-->
<!--									</table>-->

								</div>

								<div id="div2" style="display: none;">
									<h2 style="text-align: center; color: red;">
										历史记录
									</h2>
									<table width="95%" border="0" align="center" cellpadding="0"
										cellspacing="1" class="t1" style="border: 1px solid #5cb0ff;">
										<tr>
											<th align="center">
												序号
											</th>
											<th align="center">
												校区
											</th>
											<th align="center">
												宿舍号
											</th>
											<th align="center">
												性别
											</th>
											<th align="center">
												入住学生
											</th>
											<th align="center">
												分配时间
											</th>
											<th align="center">
												回收情况
											</th>
										</tr>
										<tr>
											<td align="center">
												1
											</td>
											<td align="center">
												珠海
											</td>
											<td align="center">
												1#201
											</td>
											<td align="center">
												男
											</td>
											<td align="center">
												甲、乙、丙、丁
											</td>
											<td align="center">
												2001年9月5日&nbsp;17:30:20
											</td>
											<td align="center">
												未回收
											</td>
										</tr>
										<tr>
											<td align="center" bgcolor="#E3F4FD">
												&nbsp;
											</td>
											<td align="center" bgcolor="#E3F4FD">
												&nbsp;
											</td>
											<td align="center" bgcolor="#E3F4FD">
												&nbsp;
											</td>
											<td align="center" bgcolor="#E3F4FD">
												&nbsp;
											</td>
											<td align="center" bgcolor="#E3F4FD">
												&nbsp;
											</td>
											<td align="center" bgcolor="#E3F4FD">
												&nbsp;
											</td>
											<td align="center" bgcolor="#E3F4FD">
												&nbsp;
											</td>
										</tr>
									</table>
									<div style="margin-left: 800px;">
										<input type="button" value="返回"
											onclick="$('#div2').css('display','none');$('#div1').css('display','block');" />
									</div>
								</div>

							
							</div>
						</div>
						<!---->

						<!---->
						<div class="condiv"
							style="width: 997px; position: relative; height: 20px; min-height: 20px; text-align: center;">
							<a href="computer/computer.html" target="_blank">计算机学院程序员之家</a>
						</div>
						<!---->


						<!--低部-->
						<div class="bottom">
							&nbsp;
						</div>
						<!---->
					</div>
				</div>
			</div>

		</body>
</html>

